Duck hunt
RUS) /// ///////////////////////////////// function trans($text,$t=1) { if($t == FALSE) { return $text; } else { $mass_en=array( "SCH", "Sch", "YO", "Yo", "ZH", "Zh", "CH", "Ch", "SH", "Sh", "YE", "Ye", "YU", "Yu", "YA", "Ya", "sch", "yo", "zh", "ch", "sh", "yz", "yu", "ya", "A", "B", "V", "G", "D", "E", "Z", "I", "J", "K","L", "M", "N", "O", "P", "R", "S", "T", "U", "F", "H", "C", "Y", "a", "b", "v", "g", "d", "e", "z", "i", "j", "k", "l", "m", "n", "o", "p", "r", "s", "t", "u", "f", "h", "c", '"', "y", "=" ); $mass_ru=array( "Щ", "Щ", "Ё", "Ё", "Ж", "Ж", "Ч", "Ч", "Ш", "Ш", "Э", "Э", "Ю", "Ю", "Я", "Я", "щ", "ё", "ж", "ч", "ш", "э", "ю", "я", "А", "Б", "В", "Г", "Д", "Е", "З", "И", "Й", "К", "Л", "М", "Н", "О", "П", "Р", "С", "Т", "У", "Ф", "Х", "Ц", "Ы", "а", "б", "в", "г", "д", "е", "з", "и", "й", "к", "л", "м", "н", "о", "п", "р", "с", "т", "у", "ф", "х", "ц", "ъ", "ы", "ь" ); $source_len=strlen($text); while(strlen($text)!=0) { $position_1=strpos($text, "<"); if(empty($position_1)) { $new_string.=str_replace($mass_en, $mass_ru, $text); $text=substr_replace($tex